﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="KPApproval.aspx.cs" Inherits="InvoiceApplication.KPApproval" %>

<%@ Register Src="../../Processes/ProcessControl/UserInfo.ascx" TagName="UserInfo"
    TagPrefix="ui" %>
<%@ Register Src="../../Processes/ProcessControl/ApprovalHistory.ascx" TagName="ApprovalHistory"
    TagPrefix="ah" %>
<%@ Register Src="../../Processes/ProcessControl/Attachments.ascx" TagName="Attachments"
    TagPrefix="attach" %>
<%@ Register Src="../../Processes/ProcessControl/ButtonList.ascx" TagName="ButtonList"
    TagPrefix="btn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>个人费用报销</title>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../../js/common.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../js/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" language="javascript">
        
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
       <div class="row">
            <ui:userinfo id="UserInfo1" processtitle="发票申请" processprefix="FP" tablename="PROC_INVOICE"
                tablenamedetail="PROC_INVOICE_DT" runat="server"  readonly="true"></ui:userinfo>
        </div>
        <div class="row">
            <table class="table table-condensed table-bordered">
                <tr>
                    <td class="banner" colspan="4">
                        详细信息
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        开票公司：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="read_KPCOMPANY" runat="server" CssClass="  "></asp:Label>
                        
                    </td>
                    <td class="td-label">
                        付款公司：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:Label ID="read_FKCOMPANY" runat="server" CssClass="  "></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        发票金额：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="read_INVOICEAMOUNT" runat="server" CssClass="readonly"></asp:Label>
                    </td>
                    <td class="td-label">
                        发票类型：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="read_INVOICETYPE" runat="server" CssClass="  "></asp:Label>
                        
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        销项税率：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="read_RATE" runat="server" CssClass="  "></asp:Label>
                      
                        %
                    </td>
                    <td class="td-label">
                        发票摘要：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="read_INVOICESUMMARY" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        发票号码：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_INVOICENO" runat="server" CssClass="validate[required]   "></asp:TextBox>
                    </td>
                    <td class="td-label">
                        开票金额：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_KPAMOUNT" runat="server" CssClass="validate[required]   "></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td-label" valign="middle">
                        备注：
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:Label TextMode="MultiLine" ID="read_REMARK" Width="98%" Height="60px" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="10">
                        <table class="table table-condensed table-bordered tablerequired" id="tbDetail">
                            <tr>
                                <th>
                                    订单编号
                                </th>
                                <th>
                                    开始日期
                                </th>
                                <th>
                                    结束日期
                                </th>
                                <th width="100px">
                                    付款项目
                                </th>
                                <th>
                                    项目代号
                                </th>
                                <th>
                                    产品名称
                                </th>
                                <th>
                                    品牌
                                </th>
                                <th>
                                    应收日期
                                </th>
                                <th>
                                    应收金额
                                </th>
                                <%-- <th>
                                    开票金额
                                </th>--%>
                            </tr>
                            <asp:Repeater ID="read_detail_PROC_INVOICE_DT" runat="server" >
                                <ItemTemplate>
                                    <tr>
                                        <td>
                                          
                                           <asp:Label ID="read_FORMID" Text='<%#Eval("FORMID") %>' runat="server" Style="display: none"></asp:Label>
                                            <asp:Label ID="read_ORDERNO" Text='<%#Eval("ORDERNO") %>' runat="server" Width="90%"
                                                CssClass=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="read_STARTDATE" Text='<%# ProcessControl.Format.GetDate(Eval("STARTDATE")) %>'  runat="server" Width="90%"
                                                OnClick="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"   ></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="read_ENDDATE" Text='<%#ProcessControl.Format.GetDate(Eval("ENDDATE")) %>' runat="server" Width="90%"
                                                OnClick="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})" ></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="read_FKPROJECT" Text='<%#Eval("FKPROJECT") %>' runat="server" Width="90%"
                                                CssClass=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="read_PROJECTCODE" Text='<%#Eval("PROJECTCODE") %>' runat="server"
                                                Width="90%" CssClass=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="read_PRODUCT" Text='<%#Eval("PRODUCT") %>' runat="server" Width="90%"
                                                CssClass=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="read_BRAND" Text='<%#Eval("BRAND") %>' runat="server" Width="90%"
                                                CssClass="">></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="read_YSDATE" Text='<%#Eval("YSDATE") %>' runat="server" Width="90%"
                                                OnClick="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"  ></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="read_YSAMOUNT" Text='<%#Eval("YSAMOUNT") %>'   runat="server" Width="90%" CssClass=""></asp:Label>
                                        </td>
                                       <%-- <td>
                                            <asp:TextBox ID="read_KPAMOUNT" Text='<%#Eval("KPAMOUNT") %>'   runat="server" Width="90%" CssClass="validate[required]"></asp:TextBox>
                                        </td>--%>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
        <div class="row">
            <attach:attachments id="Attachments1" readonly="true" runat="server"></attach:attachments>
        </div>
        <div class="row">
            <ah:approvalhistory id="ApprovalHistory1" runat="server"></ah:approvalhistory>
        </div>
        <div class="row">
        </div>
    </div>
    <btn:buttonlist id="ButtonList1" runat="server"></btn:buttonlist>
    <div style="display: none;">
    </div>
    </form>
</body>
</html>
